package com.ctshk.rpc.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 财务特殊收款
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-04-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_special_collection")
@ApiModel(value="FinanceSpecialCollection对象", description="财务特殊收款")
public class FinanceSpecialCollection extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "特殊收款单号")
    private String collectionNumber;

    @ApiModelProperty(value = "收款类型1 补贴，2 供应商预订单")
    private Integer collectionType;

    @ApiModelProperty(value = "补贴来源类型1 旅行团，2 定制包团")
    private Integer subsidySource;

    @ApiModelProperty(value = "付款方")
    private String payer;

    @ApiModelProperty(value = "收款时间")
    private LocalDateTime collectionTime;

    @ApiModelProperty(value = "收款部门")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "收款金额")
    private BigDecimal receivedAmount;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "补贴类型1 旅游小费 2 佣金 3 补贴 4 其他")
    private Integer subsidyType;

    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "收款方式")
    private String collectionWayName;

    @ApiModelProperty(value = "附件")
    private String filesJson;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批id")
    private Long approvalId;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
